<%@ page import="javax.mail.Session" %>
<%@ page contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <base href="<%=basePath%>">
    <!-- jsp文件头和头部 -->
    <link rel="stylesheet" href="static/css/zcss/zsms.css"/>
</head>

<body>

<div class="container-fluid contain" id="main-container">
    <div id="page-content" class="clearfix">
        <div class="tips">
            <p></p>
            <button class="tipsclose">X</button>
        </div>
        <%--<form action="smspocessor/doSend.do">--%>
        <div class="smsput" id="smsput">
            <label>物联卡号：</label>
            <div class="inputlist" id="inputdiv">
                <input clsss="inputlist-zinput" id="tellinp" name="phone" placeholder="请输入物联卡号！"/>
            </div>
        </div>
        <div class="smscont">
            <label>短信内容:</label>
            <textarea id="scont" name="content" placeholder="请输入短信内容，请勿重复发送！"></textarea>
        </div>
        <div class="smsquick">
            <label>&nbsp;</label>
            <div class="zdiv">
                <span class="zbtn">最常用短信</span>
                <ul class="ullist" id="sss">
                    <c:choose>
                        <c:when test="${hotList== null || fn:length(hotList) == 0}">
                            <li>您的最常用短信列表为空！</li>
                        </c:when>
                        <c:otherwise>
                            <c:forEach items="${hotList}" var="var">
                                <li>${var}</li>
                            </c:forEach>
                        </c:otherwise>
                    </c:choose>
                </ul>
            </div>
        </div>
        <div class="smssend">
            <button type="submit" class="zsmsbtn zsend">
                <!-- <span class="glyphicon glyphicon-send" aria-hidden="true"></span> --> 发送
            </button>
        </div>
        <%--</form>--%>
        <div class="zalert">
            <div class="zalert-cont">
             	<span class="ztit">
             		<p>错误提示</p>
             	</span>
                <span class="zcont">
             	     <img src="static/img/zwarn.png">
             	     <h4><p id="msg"></p></h4>
                    </ul>
             	</span>
                <span class="zbot">
                    <button class="zzbtn zzclose">确定</button>
             	</span>
            </div>
        </div>
    </div><!--/#page-content-->
</div><!--/.fluid-container#main-container-->

<!-- 返回顶部  -->
<a href="#" id="btn-scroll-up" class="btn btn-small btn-inverse">
    <i class="icon-double-angle-up icon-only"></i>
</a>

<!-- 引入 -->
<script type="text/javascript">window.jQuery || document.write("<script src='static/js/jquery-1.9.1.min.js'>\x3C/script>");</script>


<!--引入属于此页面的js -->
<script type="text/javascript" src="static/js/zjs/zsms.js"></script>

<script>
    $(top.hangge());
</script>
</body>
</html>

